﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Model;
using Dal;
using System.Data;

namespace Bll
{    
    public class BllEmail
    {
        DalEmail d = new DalEmail();

        public DataTable Email_Inquire_All()
        {
            //获取全部信息
            return d.Email_Inquire_All();
        }//获取全部信息

        public string Email_Director_Add(ModelPublic m)
        {
            return d.Email_Director_Add(m);
        }

        public string Email_Secretary_Add(ModelPublic m)
        {
            return d.Email_Secretary_Add(m);
        }

        public bool Email_Read_Modify(ModelPublic m)
        {
            //是否查看
            return d.Email_Read_Modify(m);
        }//是否查看

        public DataTable Email_Inquire_Single(ModelPublic m)
        {
            //查询单条信息
            return d.Email_Inquire_Single(m);
        }//查询单条信息

        public bool Email_Handle_Modify(ModelPublic m)
        {
            //浏览情况修改
            return d.Email_Handle_Modify(m);
        }//浏览情况修改

        public string Email_Handle_Search(ModelPublic m)
        {
            //浏览情况
            return d.Email_Handle_Search(m);
        }//浏览情况

        public bool Email_Delete(ModelPublic m)
        {
            //信息删除
            return d.Email_Delete(m);
        }//信息删除

        public DataTable Email_Search_All(ModelPublic m)
        {
            //检索信息
            return d.Email_Search_All(m);
        }//检索信息
    }
}
